package com.hisense.hiioc.hismartplate.mapper;

import com.hisense.hiioc.hismartplate.entity.table.DeviceStateEntity;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
/**
 * @Author: almo
 * @Date: 2018/12/5 下午12:48
 * @Version 1.0
 */
public interface DeviceStateMapper extends Mapper<DeviceStateEntity> {
    int saveDeviceState(DeviceStateEntity entity);
    List<DeviceStateEntity> getDeviceAllStates();
}
